package com.wopinla.service.impl;

import com.wopinla.dao.ExampleDao;
import com.wopinla.pojo.*;
import com.wopinla.dao.SellerDao;
import com.wopinla.pojo.seller;
import com.wopinla.service.ExampleService;
import com.wopinla.service.SellerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service   //添加注解
public class SellerServiceImpl implements SellerService {

    @Autowired
    private SellerDao sellerDao;   //红线不要紧

    @Override
    public seller sellerById(Integer id)
    {
        System.out.println("sellerById");
        return sellerDao.sellerById(id);
    }
}
